package com.itbaizhan.openfeign;

import com.alibaba.fastjson.JSON;
import com.itbaizhan.domain.PayInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author spf
 * @date 2024/4/24
 * @time 8:45
 */
@FeignClient("payment")
@Service
public interface PaymentService {

    @GetMapping("/payInfo/query")
    public String query(@RequestParam("txNo") String txNo);

}
